// 库存物资管理
<template>
  <el-row class="drugStorage-body">
    <el-col :span="24">
      <TopManu></TopManu> 
    </el-col>
    <el-col :span="24" style="padding:10px;">
      <ViewTitle text="入库列表" />  
    </el-col>
    <el-col :span='24' styl="margin-top:20px;padding:0 20px;" class="drugStorage-content">
        <el-form :inline="true" class="demo-form-inline" v-model="formInline" style='marginTop:20px;'>
            <el-form-item label="搜索">
              <el-input placeholder="请输入姓名/门诊号/身份证号" v-model="formInline.rightKeyValue">
                <el-button slot="append" icon="el-icon-search">
                  查询
                </el-button>
              </el-input>
            </el-form-item>
            <el-form-item label="执行科室">
              <el-input placeholder="请输入姓名/门诊号/身份证号" v-model="formInline.rightKeyValue">
              </el-input>
            </el-form-item>
        </el-form>
        <FromList :tableTitle="patientTitle" :tableData="patientData" />
    </el-col>
     <el-col :span="24" style="padding:10px;">
      <ViewTitle text="入库明细" />  
    </el-col>
    <el-col :span='24' styl="margin-top:20px;padding:0 20px;" class="drugStorage-content">
        <FromList :tableTitle="patientTitle" :tableData="patientData" />
    </el-col>
  </el-row>
</template>

<script>
import FromList from "@/forComponents/fromList/fromList"
import TopManu from "@/components/TopMenu"
import ViewTitle from "@/forComponents/viewTitle"
export default {
  name:"Inventory",
  data(){
    return {
      activity:1,
      wardData:[
        {
          wardName:"病区一",
          hold:100,
          null:0
        }
      ],
      wardTitle:[
        {
            prop:"wardName",
            name:"病区名称",
            type:1,
            width:50
        },
        {
            prop:"hold",
            name:"占",
            type:1,
        },
        {
            prop:"null",
            name:"空",
            type:1,
        }
      ],
      leftValue:"",
      formInline:{
        rightKeyValue:"",
        rightRadio:"0"
      },
      patientTitle:
      [
        {
          prop:"number",
          name:"序号",
          type:1,
          width:50
        },
        {
          prop:"name",
          name:"姓名",
          type:1,
        },
        {
          prop:"idcard",
          name:"身份证号",
          type:1,
        },
      ],
      patientData:
      [
         {
           number:"1",
           name:"郎宏",
           idcard:"522222222"
         }
      ]
    }
  },
  components:{
     FromList,
     TopManu,
     ViewTitle
  }
}
</script>

<style lang="scss" scoped>
  @import "./index.scss";
</style>